package com.hcb.tonguetiphealth.model;





public class Trends extends AbstractTask {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final int wine = 1;
	public static final int meal = 2;
	public static final int cate = 3;
	private String id;
	private String name;
	private String time;
	private String content;
	private String imgURL;
	private String contentWine;
	private String contentMeal;
	private String contentCate;
	
	public String getId() {
		return formate(id);
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return formate(name);
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTime() {
		return formate(time);
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getContent() {
		String strWine = getContentWine();
		String strMeal = getContentMeal();
		strMeal = strMeal.length() == 0? strMeal : "\n" + strMeal; 
		String strCate = getContentCate();
		strCate = strCate.length() == 0? strCate : "\n" + strCate; 
		
		return strWine + strMeal + strCate;
		//return formate(content);
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getImgURL() {
		return formate(imgURL);
	}
	public void setImgURL(String imgURL) {
		this.imgURL = imgURL;
	}
	public String getContentWine() {
		return formate(contentWine);
	}
	public void setContentWine(String contentWine) {
		this.contentWine = contentWine;
	}
	public String getContentMeal() {
		return formate(contentMeal);
	}
	public void setContentMeal(String contentMeal) {
		this.contentMeal = contentMeal;
	}
	public String getContentCate() {
		return formate(contentCate);
	}
	public void setContentCate(String contentCate) {
		this.contentCate = contentCate;
	}
	
}
